package com.farsunset.ichat.example.app;

/**
 * 
 * @version 1.0
 */
public interface Constant {

	// 服务端web地址
	public static final String SERVER_URL = "http://192.168.1.100:8080/cim-server";
	// 服务端IP地址
	public static final String CIM_SERVER_HOST = "192.168.1.100";

	// 注意，这里的端口不是tomcat的端口，CIM端口在服务端spring-cim.xml中配置的，没改动就使用默认的23456
	public static final int CIM_SERVER_PORT = 23456;

	public static interface MessageType {

		// 用户之间的普通消息
		public static final String TYPE_0 = "0";

		// 下线类型
		String TYPE_999 = "999";
	}

	public static interface MessageStatus {

		// 消息未读
		public static final String STATUS_0 = "0";
		// 消息已经读取
		public static final String STATUS_1 = "1";
	}

}
